Object.defineProperty(exports, "__esModule", {
  value: !0
});
var e = $.getMenuButtonBoundingClientRect().height;
Component({
  useStore: function (e) {
    return {
      userLocationCity: e.storage.userLocationCity
    }
  },
  properties: {
    disabled: {
      type: Boolean,
      value: !0
    }
  },
  data: {
    menuHeight: e
  },
  methods: {
    onClear: function () {
      this.triggerEvent("clear")
    },
    onSearch: function (e) {
      var t = e.detail;
      this.triggerEvent("confirm", t)
    },
    onCity: function () {
      $.router.push("/subpackage/common/multi-role-select/index", {
        type: "city"
      })
    },
    onClickInput: function () {
      this.data.disabled && this.triggerEvent("clickInput")
    }
  },
  lifetimes: {}
});